@mixin w {
    margin: 0 auto;
    width: 996px;
}

body {
    background-color: #f6f6f6;
}

.content {
    .banner {
        position: relative;
        height: 550px;

        >img {
            width: 100%;
            height: 100%;
        }

        >ul {
            position: absolute;
            bottom: 2%;
            left: 43%;
            list-style: none;

            li {
                margin-right: 20px;
                display: inline-block;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: #a2d2e9;
            }

            li:first-child {
                background-color: #2395cb;
            }
        }
    }
}

@mixin in-block {
    display: inline-block;
}

@mixin tri($color) {
    position: absolute;
    left: 136px;
    bottom: 0;
    top: 168px;
    content: '';
    width: 0;
    height: 0;

    border: {
        left: 20px solid transparent;
        right: 20px solid transparent;
        top: 21px solid $color;
        bottom: 21px solid transparent;
    }
}

.content {
    .icon {
        @include w;
        display: flex;
        align-items: center;
        justify-items: center;

        padding: {
            top: 65px;
        }

        >div {
            @include in-block;
            margin-right: 12px;
        }

        .n-c {
            width: 315px;
            box-shadow: 0px 4px 10px 0px #969090;

            >div {
                @include in-block;
            }

            .n-icon {
                position: relative;
                width: 315px;
                height: 168px;
                text-align: center;
                background-color: #2395cb;

                &::before {
                    @include tri(#2395cb);
                }

                >div {
                    padding: {
                        top: 15px;
                        bottom: 15px;
                    }
                }

                >p {
                    font-size: 18px;
                    color: white;
                }

                >p:first-of-type {
                    padding-bottom: 15px;
                }

                >p:last-of-type {
                    text-decoration: underline;
                    text-underline-position: under;
                }
            }

            .n-pic {
                height: 178px;
                background-color: #ffffff;
                border-bottom: 2px dotted #d7d7d7;

                >div {
                    @include in-block;
                }

                .n-pic-l {
                    margin-right: 25px;

                    >p {
                        padding: {
                            top: 26px;
                            bottom: 16px;
                        }
                    }

                    >div {
                        width: 110px;
                        height: 98px;

                        >img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                }

                .n-pic-r {
                    vertical-align: top;
                    padding-top: 60px;
                    width: 175px;
                    line-height: 24px;
                    font-size: 14px;
                }
            }

            .n-p {
                height: 125px;
                width: 100%;
                background-color: #ffffff;

                >ul {
                    padding-top: 24px;

                    // list-style-type: disc;
                    >li {
                        line-height: 24px;
                        font-size: 14px;

                        >img {
                            margin: {
                                left: 5px;
                                right: 5px;
                            }
                        }
                    }
                }
            }
        }

        .n-products {
            .n-icon {
                background-color: #3ed1a4;

                &::before {
                    @include tri(#3ed1a4);
                }
            }

            .n-pic {
                display: flex;
                align-items: center;
                justify-items: center;
                border-bottom: 0;

                >img {
                    margin-left: 12px;
                }
            }

            .n-p {
                width: 315px;
                text-align: center;

                >span {
                    display: inline-block;

                    padding: {
                        top: 40px;
                        bottom: 16px;
                    }

                    font-size: 18px;
                    color: #2395cb;
                }

                >p {
                    font-size: 12px;
                }
            }
        }

        .n-information {
            .n-icon {
                background-color: #895ea3;

                &::before {
                    @include tri(#895ea3);
                }
            }

            .n-pic {
                padding-left: 14px;
                display: flex;
                align-items: center;
                justify-items: center;

                >img {
                    width: 290px;
                    height: 124px;
                }
            }

            .n-p {
                background-image: url('../images/S-bg_a1.png');
                background-repeat: no-repeat;
                background-size: 100%;

                >div {
                    padding-top: 56px;
                    padding-left: 54px;
                    padding-bottom: 46px;
                    font-size: 12px;
                    width: 212px;
                }
            }
        }
    }
}

.content {
    .about-us {
        height: 498px;
        text-align: center;

        .ab-title {
            height: 154px;
            box-sizing: border-box;

            .ab-title1 {
                font-size: 18px;
                font-weight: bold;

                padding: {
                    top: 58px;
                    bottom: 12px;
                }
            }

            .ab-title2 {
                position: relative;
                font-size: 12px;
                color: #999999;

                &::before {
                    position: absolute;
                    top: 50%;
                    left: 26%;
                    content: '';
                    height: 1px;
                    width: 75px;
                    background-color: #999999;
                }

                &::after {
                    position: absolute;
                    top: 50%;
                    left: 60%;
                    content: '';
                    height: 1px;
                    width: 75px;
                    background-color: #999999;
                }
            }
        }

        .ab-cont {
            padding: {
                top: 40px;
                bottom: 40px;
            }

            height: 400px;
            width: 100%;
            background-image: url('../images/S-bg_b.png');
            background-size: 100%,
            100%;

            .ab-cont1 {
                width: 940px;
                margin: auto;
                font-size: 14px;
                line-height: 22px;
                letter-spacing: 1px;
                color: #6b6d6e;
                text-indent: 2em;
            }

            .ab-cont2 {
                vertical-align: top;
                width: 1048px;
                background-color: #ffffff;
                overflow-x: scroll;
                margin: 0 auto;

                >div {
                    height: 180px;
                    width: 160%;

                    >img {
                        padding-right: 12px;
                        width: 280px;
                        height: 160px;
                    }
                }

            }
        }
    }
}

.content {
    .call-us {
        height: 696px;
        .ab-title {
            height: 154px;
            box-sizing: border-box;
    
            .ab-title1 {
                font-size: 18px;
                font-weight: bold;
    
                padding: {
                    top: 58px;
                    bottom: 12px;
                }
            }
        }
    }    
}

